package com.lnking.lnkingplace.service;

import com.lnking.lnkingplace.model.entity.FileList;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

public interface IUploadService {

    /**
     * 文件上传
     * @param file 文件
     * @return 相对路径URL
     * @throws IOException
     */
    FileList uploadFile(MultipartFile file, String creatorName) throws  Exception;
}
